﻿using Bot.Domain.Articles;
using System.Collections.Generic;

namespace Bot.Domain
{
    public class ClientCategoryDto
    {
        public ClientCategoryDto()
        {
            SubCategories = new List<ClientCategoryDto>();
            Articles = new List<ClientArticleDto>();
        }

        public bool IfRootCategory { get; set; }
        public string Name { get; set; }
        public string Url { get; set; }
        //public ClientCategoryDto ParentCategory { get; set; }
        public List<ClientArticleDto> Articles { get; set; }
        public List<ClientCategoryDto> SubCategories { get; set; }
        public IList<ClientArticleDto> PopularArticles { get; set; }
        //public List<ArticleInfoModel> Articles { get; set; }
        public int CategoryId { get; set; }
        public int ParentId { get; set; }
        public string Breadcrumbs { get; set; }
        public int TotalArticles { get; set; }
        public int SelfTotalArticles { get; set; }
        public int SiteId { get; set; }
        public int KbId { get; set; }
        public string CssUrl { get; set; }
    }
}
